#pragma once

#include <memory>
#include <string>
#include <vector>
#include "../GrpcModule/GrpcModule.grpc.pb.h"

class Client
{
public:
    Client(const std::string &config_file);
    virtual ~Client();

    void importData(const std::string &file_name);

	void search(const std::string &file_name);

	void syncCmd(const std::string &file_name);

private:
    void loadConfig(const std::string &import_data);

private:
    std::string config_file_;
    std::string service_address_;

    std::unique_ptr<enclave::EnclaveServer::Stub> stub_;
};

